<template>
    <view class=""></view>
</template>

<script lang="ts" setup>
import { useUserStore } from '@/stores'
const store = useUserStore()
onLoad(() => {
    //游客登录页面
    if (store.userInfo.UserName === '430524') {
        uni.reLaunch({ url: '/pages/guest/guest' })
    } else {
        //用户登录页面
        uni.reLaunch({ url: '/pages/tabbar/home/home' })
    }
})
</script>

<style lang="scss" scoped>
//
</style>
